package com.ek.common.task;

import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

import com.ek.common.MessageSender;

public class SendMulticastMessage extends FutureTask<Void> {

    public SendMulticastMessage(final MessageSender sender) {
        super(new Callable<Void>() {

            public Void call() throws Exception {
                sender.sendMulticastMessage();
                return null;
            }
        });
    }

}
